cmake_minimum_required(VERSION 3.8)
project(dir_prop_append_string)

set_property(DIRECTORY PROPERTY my_dir_prop "value1")
#set_property(DIRECTORY PROPERTY my_dir_prop "value2" "value3")
#set_property(DIRECTORY APPEND PROPERTY my_dir_prop "value2" "value3")
set_property(DIRECTORY APPEND_STRING PROPERTY my_dir_prop "value2" "value3")

get_directory_property(var my_dir_prop)
message(STATUS "my_dir_prop = ${var}")
